//
//  JSSCommonTools.swift
//  WeiBoItem
//
//  Created by jss on 16/4/20.
//  Copyright © 2016年 jss. All rights reserved.
//

import UIKit

//class JSSCommonTools: NSObject {
//
//}


//屏幕的宽高

let SCREENW = UIScreen.mainScreen().bounds.size.width
let SCREENH = UIScreen.mainScreen().bounds.size.height


//随机颜色
var randomColor:UIColor{

 return UIColor(red: CGFloat(random()%256)/255, green: CGFloat(random()%256)/255, blue: CGFloat(random()%256)/255, alpha: 1)
}


//统一通知名字(切换根控制的通知)
let JSSChangeRootVC = "JSSChangeRootController"

//表情按钮点击的通知
let JSSEmoticonBtnClickNotification = "JSSEmoticonBtnClickNotification"

//删除按钮点击的通知
let JSSEmoticonDeleteBtnClickNotification = "JSSEmoticonDeleteBtnClickNotification"


//UIColor(red: CGFloat(random()%256 /255.0, green: CGFloat(random()%256 /255.0, blue: CGFloat(random()%256 /255.0, alpha: 1)